home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
6584
/
6584.xpi
/
chrome
/
flashvideodownloader
/
content
/
adult_notification.js
next >
Wrap
Text File
|
2009-09-28
|
1KB
|
39 lines
var FlashVDAdultWarning = {
lictext :
"I am at least 18 years of age and have the legal right to possess adult material in my community. \
I do not find images of nude adults, adults engaged in sexual acts, or other \
sexual material to be offensive or objectionable. \
\n\n\
I understand the standards and laws of the community, site and computer to which I am transporting this \
material, and am solely responsible for my actions. If I use these services in \
violation of the above agreement, I understand I may be in violation of local and/or federal laws and \
am solely responsible for my actions.",
options : null,
init : function()
{
document.getElementById("lic").value = FlashVDAdultWarning.lictext;
this.options = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch("FlashVD.options.");
},
on_accept : function()
{
window.arguments[0].result = true;
},
set_adult_notification : function () {
try
{
var adult_notification = !window.document.getElementById('adult_notification').checked;
this.options.setBoolPref ("adult_notification", adult_notification);
}
catch(e)
{
//alert(e);
}
}
}